<table class="content" align="center" cellspacing="0" cellpadding="0">
  <tr>
    <td class="content_title_top" valign="middle"><div><?php echo Kohana::lang('login_lang.tt_page')?>|<?php echo Kohana::lang('register_lang.lbl_title') ?></div></td>
  </tr>
  <tr>
    <td class="content_middle">
      <table align="center" cellpadding="0" cellspacing="0" border="0">
      <tr>
      <td width="48%" valign="top">
      <form name="frm" action="<?php echo $this->site['base_url']?>login/sm_center" method="post">
        <table align="center" cellspacing="0" cellpadding="5" border="0">
          <tr>
            <td colspan="2" align="left"><strong><?php echo Kohana::lang('login_lang.tt_page')?></strong></td>
            </tr>
          <tr>
            <td colspan="2" align="center" class="error"><?php if(isset($error_msg)) echo $error_msg ?></td>
          </tr>
          <tr>
            <td width="40%" align="right"><?php echo Kohana::lang('login_lang.lbl_username') ?>:</td>
            <td align="left"><input name="txt_username" type="text" id="txt_username" class="text" style="width:150px"/></td>
            </tr>
          <tr>
            <td align="right"><?php echo Kohana::lang('login_lang.lbl_password') ?>:</td>
            <td align="left"><input name="txt_password" type="password" id="txt_password" class="text" style="width:150px"/></td>
            </tr>
          <tr>
            <td colspan="2" class="login_button" align="center"><input type="submit" name="btn_submit" class="button" value="<?php echo Kohana::lang('login_lang.btn_login')?>" /></td>
            </tr>
          <tr>
            <td colspan="2" align="center">
              <a href="<?php echo $this->site['base_url']?>forgetpass"><?php echo Kohana::lang('login_lang.lbl_forgetpass')?></a>
            </td>
          </tr>
        </table>
      </form>      
      </td>
      <td style="border-left:1px solid" width="2%">&nbsp;</td>
      <td valign="top">
      <table align="center" cellspacing="0" cellpadding="5" border="0">
        <tr>
          <td align="left"><strong><?php echo Kohana::lang('register_lang.lbl_title') ?></strong></td>
        </tr>
        <tr>
          <td align="center"><div style="padding:5px"><?php echo Kohana::lang('login_lang.lbl_mess_register')?></div></td>
        </tr>
        <tr>
          <td align="center"><div style="padding:5px"><?php echo Kohana::lang('login_lang.lbl_mess_login')?></div></td>
        </tr>
        <tr>
          <td align="center"><input type="button" name="btn_login" class="button" value="<?php echo Kohana::lang('shoppingcart_lang.lbl_create_acc')?>" onclick="location.href='<?php echo $this->site['base_url']?>register'"/></td>
        </tr>
        <tr>
          <td align="center">&nbsp;</td>
        </tr>
      </table>
      </td></tr>
      </table>
      </td>
  </tr>
  <tr>
    <td class="content_bottom"></td>
  </tr>
</table>
<script language="javascript">
document.getElementById('txt_username').focus();
</script>